package com.black.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.black.system.domain.SysLogininfor;
import com.black.system.domain.req.monitor.query.SysLoginInforQueryReq;
import com.black.system.domain.resp.monitor.SysLoginInforResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author L
 * @description 针对表【sys_logininfor(系统访问记录)】的数据库操作Mapper
 * @createDate 2024-08-19 10:07:23
 * @Entity com.black.system.domain.SysLogininfor
 */
public interface SysLogininforMapper extends BaseMapper<SysLogininfor> {

    List<SysLoginInforResp> paginationQuery(@Param("req") SysLoginInforQueryReq req);

    /**
     * 根据id批量导出
     *
     * @param ids
     * @return
     */
    List<SysLoginInforResp> exportByIds(@Param(value = "ids") Long[] ids);
}




